<template>
  <div class="page-placeholder">
    <el-result
      icon="info"
      title="功能开发中"
      sub-title="此页面正在开发中，敬请期待！"
    >
      <template #extra>
        <el-button type="primary" @click="goBack">返回</el-button>
      </template>
    </el-result>
  </div>
</template>

<script>
import { useRouter } from 'vue-router'

export default {
  name: 'PagePlaceholder',
  setup() {
    const router = useRouter()
    
    const goBack = () => {
      router.go(-1)
    }
    
    return {
      goBack
    }
  }
}
</script>

<style scoped>
.page-placeholder {
  padding: 60px 0;
  text-align: center;
}
</style>
